import request from '@/utils/request'

// 获取渠道列表
export function getTableDataApi(data) {
    return request({
        url: '/api/system.status/index',
        method: 'post',
        data: data
    })
}

export function getPickerApi(data) {
  return request({
    url: "/api/system.status/picker",
    method: "post",
    data: data,
  });
}

export function readStatusApi(data) {
    return request({
        url: '/api/system.status/read',
        method: 'post',
        data: data
    })
}

export function createStatusApi(data) {
    return request({
        url: '/api/system.status/create',
        method: 'post',
        data: data
    })
}

export function saveStatusApi(data) {
    return request({
        url: '/api/system.status/save',
        method: 'post',
        data: data
    })
}

export function deleteStatusApi(data) {
    return request({
        url: '/api/system.status/delete',
        method: 'post',
        data: data
    })
}